package com.example.zx_springboot.mapper;

import com.example.zx_springboot.entity.ZxUser;
import com.example.zx_springboot.entity.Zxcustomer;
import com.example.zx_springboot.entity.Zxloss;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface Zx_CustomerMapper {
    List<Zxcustomer> getall();

    List<Zxcustomer> SelectName(String customerName);

    void add(Zxcustomer zxcustomer);

    void update(Zxcustomer zxcustomer);

    void delete(Integer customer_num);

    void Deletes(Integer id);

    List<Zxloss> loss();

    List<Zxloss> selectloss(String customerName);

    void updateloss(Zxloss zxloss);

    void deleteloss(Integer customer_id);

    void deletelosses(Integer loss_id);

    void addloss(Zxloss zxloss);
}
